<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
    <link rel="stylesheet" href="app.css">
    <title>舔狗日记</title>


</head>

<body>
    <div class="container mt-5 mb-5">
        <div class="col justify-content-md-center bg-light pb-3 rounded border border-dark">
            <div class="col">
                <div class="row border border-2 border-top-0 border-left-0 border-right-0">
                    <h1 class="mt-3">黄头舔狗日记</h1>
                </div>
                <div class="row mt-3 mb-3">
                    <img src="/htDiary/lickdog.gif" alt="lickdog" class=" img-thumbnail rounded-circle" style="width: 10%;">
                </div>
            </div>
            <div class="">
                <div class="mb-3 border border-2 border-top-0 border-left-0 border-right-0">
                    <h4 class="text-dark">目录</h4>
                </div>
                <div class="pb-3">
                    <ul class="list-group">
                        <% for(let diary of htdiaries){ %>
                            <li class="list-group-item list-group-item-action col-6  text-black">
                                <a href="/htDiary/<%=diary.date%>">
                                    <%= diary.date %>
                                        <a></li>
                            <% } %>
                    </ul>
                </div>
                <div class="mb-3 border border-2 border-bottom-0 border-left-0 border-right-0">
                    <a class="list-group-item list-group-item-action list-group-item-info col-2 mt-3 text-center text-info rounded" href="/htDiary/new">创建新日记</a>
                </div>
            </div>
        </div>
    </div>
</body>

</html>